QuadLayers\WOOCCM\Model\Field A

Total Complexity 61
Dependencies 1
Dependents 0
Total lines 423
Lines of code 313
Logical lines of code 100
Comment lines 36
Methods 24
Properties 3

Methods 24

Method Rating Maintainability Complexity Lines of code
sanitize_field()
A
46 12 36
get_args()
S
36 1 92
delete_checkout_field()
S
57 6 17
duplicated_name()
S
61 6 12
update_fields()
S
60 5 14
get_default_fields()
S
56 4 17
order_fields()
S
64 5 9
get_field_id()
S
64 4 10
get_fields()
S
61 3 11
get_types()
S
51 1 27
get_multiple_types()
S
73 1 6
get_template_types()
S
71 1 7
get_disabled_types()
S
68 1 9
get_price_types()
S
76 1 5
get_name()
S
80 1 3
get_option_types()
S
69 1 8
get_conditional_types()
S
70 1 6
delete_fields()
S
74 1 5
get_key()
S
79 1 3
add_field()
S
80 1 3
get_field()
S
80 1 3
update_field()
S
80 1 3
delete_field()
S
77 1 4
get_defaults()
S
81 1 3